Xbasic
RTFMEMO.GET_FONT_COLOR Function
Syntax
Font_Color as C = .GET_FONT_COLOR()
Description
The .GET_FONT_COLOR() method returns the font color at the current cursor location.
Example
dim obj as P obj = :Customer_Information:rtfmemofield.this obj.rtf.insert_text("This is RTF text") obj.rtf.set_cursor(20) obj.rtf.set_font("Verdana,10","Red") ? obj.rtf.get_font_color() = "Red"
Limitations
Desktop applications only.
See Also